package com.genius.reservation.admissionInformation.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 入场信息
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("admission_information")
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel(value = "AdmissionInformation对象", description = "入场信息")
public class AdmissionInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("预约编号")
    private String reservationNumber;

    @ApiModelProperty("司机编号")
    private String driverNumber;

    @ApiModelProperty("到达时间")
    private String arriveTime;

    @ApiModelProperty("入场时间")
    private String admissionTime;

    @ApiModelProperty("0 已确认 1 缺少健康吗 2 缺少行程码 3 缺少核酸报告 4 全部缺失")
    private Integer confirmCode;

    @ApiModelProperty("车辆入场图片")
    private String admissionCarPic;

    @ApiModelProperty("0 准时 1 迟到 2 早到")
    private Integer isLate;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新信息")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    @ApiModelProperty("入场信息编号")
    private String admissionNumber;


}
